package com.example.back.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "菜单返回体")
public class ModuleResp implements Serializable {

    private static final long serialVersionUID = 3680605898577903267L;
    @ApiModelProperty(value = "ID")
    @JSONField(name = "ID")
    private Long ID;

    @ApiModelProperty(value = "图标")
    @JSONField(name = "Icon")
    private String Icon;
    @ApiModelProperty(value = "菜单的名称")
    @JSONField(name = "Name")
    private String Name;
    @ApiModelProperty(value = "菜单访问路径URL")
    @JSONField(name = "Url")
    private String Url;
    @ApiModelProperty(value = "菜单访问路径URL标示")
    @JSONField(name = "ShowUrl")
    private String ShowUrl;
    @ApiModelProperty(value = "菜单访问路径URL标示")
    @JSONField(name = "Sort")
    private Integer Sort;
    @ApiModelProperty(value = "二级模块")
    @JSONField(name = "sonModuleList")
    private List<ModuleResp> sonModuleList;

}
